package io.renren.modules.substation.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 设备监测信息实时表
 * 
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-06-20 11:20:38
 */
@Data
@TableName("T_BUSI_DEV_MONITOR_INFO")
public class TBusiDevMonitorInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 记录号
	 */
	@TableId
	private Long id;
	/**
	 * 设备编号
	 */
	private String devCode;
	/**
	 * 监测变量编号
	 */
	private String variableCode;
	/**
	 * 监测变量状态:0-正常;1-报警
	 */
	private String variableStatus;
	/**
	 * 监测变量值
	 */
	private String variableValue;
	private String variableValue2;
	private String variableValue3;

	private String variableKind;
	/**
	 * 监测信息描述
	 */
	private String variableDesc;
	/**
	 * 监测时间
	 */
	private String monitorTime;
	/**
	 * 
	 */
	private Long createOpr;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Long lastOpr;
	/**
	 * 
	 */
	private Date lastTime;
	@TableField(exist=false)
	private int cnt;
	@TableField(exist=false)
	private Long devArea;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDevCode() {
		return devCode;
	}

	public void setDevCode(String devCode) {
		this.devCode = devCode;
	}

	public String getVariableCode() {
		return variableCode;
	}

	public void setVariableCode(String variableCode) {
		this.variableCode = variableCode;
	}

	public String getVariableStatus() {
		return variableStatus;
	}

	public void setVariableStatus(String variableStatus) {
		this.variableStatus = variableStatus;
	}

	public String getVariableValue() {
		return variableValue;
	}

	public void setVariableValue(String variableValue) {
		this.variableValue = variableValue;
	}

	public String getVariableDesc() {
		return variableDesc;
	}

	public void setVariableDesc(String variableDesc) {
		this.variableDesc = variableDesc;
	}

	public String getMonitorTime() {
		return monitorTime;
	}

	public void setMonitorTime(String monitorTime) {
		this.monitorTime = monitorTime;
	}

	public Long getCreateOpr() {
		return createOpr;
	}

	public void setCreateOpr(Long createOpr) {
		this.createOpr = createOpr;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getLastOpr() {
		return lastOpr;
	}

	public void setLastOpr(Long lastOpr) {
		this.lastOpr = lastOpr;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public String getVariableKind() {
		return variableKind;
	}


	public String getVariableValue2() {
		return variableValue2;
	}

	public void setVariableValue2(String variableValue2) {
		this.variableValue2 = variableValue2;
	}

	public String getVariableValue3() {
		return variableValue3;
	}

	public void setVariableValue3(String variableValue3) {
		this.variableValue3 = variableValue3;
	}

	public void setVariableKind(String variableKind) {
		this.variableKind = variableKind;
	}
}
